<div class="weui-footer">

    <p class="weui-footer__text">Copyright © <?php echo $cfg_copyright; ?></p>
    <p class="weui-footer__text">修总管 数据驱动</p>
</div>
<div class="clear"></div>
<div style="width: 100%; height: 150px;"></div>
<!--底部菜单-->

<?php
$meurl = "member.php";
$orderurl = "order.php";
$apply = "apply_m.php";
$order_text = "我的工单";
$show_school=0;
if (@$_SESSION['level']) {
    if ($_SESSION['level'] < 4) {
        $meurl = "manage.php";
        $orderurl = "morder.php";
        $apply = "apply_m.php";
        $order_text = "所有工单";
        $show_school=1;
    } else {
        $meurl = "member.php";
        $orderurl = "order.php";
        $apply = "apply.php";
        $order_text = "我的工单";
    }
}

?>

<div class="weui-tabbar">
    <a href="<?php echo $apply; ?>" class="weui-tabbar__item weui-bar__item--on">
        <div class="weui-tabbar__icon"><img src="images/yijian.png" alt=""></div>
        <p class="weui-tabbar__label">一键报修</p>

    </a>
    <?php if($show_school==0){?>
    <a href="school.php" class="weui-tabbar__item">
        <div class="weui-tabbar__icon"><img src="images/book.png" alt=""></div>
        <p class="weui-tabbar__label">知识库</p>
    </a>
    <?php }?>
    <?php if($show_school==1){?>
        <a href="project.php" class="weui-tabbar__item">
            <div class="weui-tabbar__icon"><img src="images/book.png" alt=""></div>
            <p class="weui-tabbar__label">工程列表</p>
        </a>
    <?php }?>
    <a href="<?php echo $orderurl; ?>" class="weui-tabbar__item">
        <div class="weui-tabbar__icon"><img src="images/order-ico.png" alt=""></div>
        <p class="weui-tabbar__label"><?php echo $order_text; ?></p>
    </a>

    <a href="<?php echo $meurl; ?>" class="weui-tabbar__item">
        <div class="weui-tabbar__icon"><img src="images/user.png" alt=""></div>
        <p class="weui-tabbar__label">个人中心</p>
    </a>
</div>


<script>


</script>
</body></html>